package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblWpItemDiffSource;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 唯品会差异明细 Mapper 接口
 * @author Ximi
 * @since 2020-04-17
 */
public interface TblWpItemDiffSourceMapper extends BaseMapper {

    /**
     * 获取合计
     * @param params
     * @return
     */
    public TblWpItemDiffSource selectFoot(@Param("params") Map<String, Object> params);

    /**
     * 随机获取一条差异明细
     * @param billNumber
     * @return
     */
    public TblWpItemDiffSource getRandomItemDiffSource(@Param("billNumber") String billNumber);

    int selectCountNotYk(@Param("list") List<String> idList, @Param("toBeDeletedScheduleId") String toBeDeletedScheduleId);

}

